﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AmiEmuLib.Native
{
    public static class NativeConsts
    {
        public static readonly IntPtr INVALID_HANDLE_VALUE = new IntPtr(-1);
        public const int ERROR_INVALID_DATA = 13;
        public const int ERROR_INSUFFICIENT_BUFFER = 122;
        public const int ERROR_NO_MORE_ITEMS = 259;

        public static readonly Guid GUID_DEVCLASS_MOUSE = new Guid("{0x4d36e96f, 0xe325, 0x11ce, {0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18}}");
        public static readonly Guid GUID_DEVCLASS_KEYBOARD = new Guid("{0x4d36e96b, 0xe325, 0x11ce, {0xbf, 0xc1, 0x08, 0x00, 0x2b, 0xe1, 0x03, 0x18}}");

        public const uint WM_DEVICECHANGE = 0x0219;
        public const uint WM_INPUTLANGCHANGE = 0x0051;
        public const uint WM_INPUT = 0x00FF;

        public const ushort HIDUsagePage_Generic = 0x01;
        public const ushort HIDUsage_Mouse = 0x02;
        public const ushort HIDUsage_Keyboard = 0x06;
    }
}
